package com.ppt.android.common.bean

data class SpeechRequest(
    val config: RecognitionConfig,
    val audio: RecognitionAudio
)

data class RecognitionConfig(
    val encoding: String,
    val sampleRateHertz: Int,
    val languageCode: String
)

data class RecognitionAudio(
    val uri: String
)

data class SpeechResponse(
    val results: List<Result>
)

data class Result(
    val alternatives: List<Alternative>
)

data class Alternative(
    val transcript: String
)